<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body>
    <div>ok</div>
    <script>
      let div = document.querySelector('div')
      div.style.backgroundColor = 'red'

      let a = document.createElement('a')
      a.innerText = '后盾人'
      a.href = 'https://www.houdunren.com'
      a.style.color = '#fff'
      a.style.fontWeight = 'bold'

      div.insertAdjacentElement('beforeend', a)
    </script>
  </body>
</html>
